﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TileEngine.tiles
{
    class TileCreator
    {
        public static Itile create<T>(int x, int y) where T : Itile, new()
        {
            Itile newT = new T();
            newT.setCoord(x, y);
            return newT;
        }
    }
}
